package com.group2.operations.model.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class StoreInfoVO implements Serializable{
    private static final long serialVersionUID = -4867397304204859707L;

    //地址
    @NotBlank(message = "厅店地址不能为空")
    private String address;
    //建立时间
    @NotNull(message = "厅店建立时间不能为空")
    private Date time;
    //负责人姓名
    @NotBlank(message = "负责人姓名不能为空")
    private String name;
    //负责人身份证号
    @NotBlank(message = "负责人身份证号不能为空")
    private String number;
    //联系电话
    @NotBlank(message = "负责人联系电话不能为空")
    private String phone;
}
